#include "Stack.h"

void test()
{
	ST ps;
	StackInit(&ps);
	StackPush(&ps, 1);
	StackPush(&ps, 2);
	StackPush(&ps, 3);
	StackPush(&ps, 4);
	
	while (!StackEmpty(&ps))
	{
		printf("%d", StackTop(&ps));
		StackPop(&ps);
	}

}

int main()
{
	test();
	return 0;
}